<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"
     xml:lang="en">
  <head>
    <title>Information Center for ARM</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <link type="text/css" rel="stylesheet" media="all" href="file://$TOOLKIT_DIR$/doc/infocenter/style/ewic.css" />
  </head>
  <body>
  <div id="topbanner"></div>
  <div id="titlebanner_small">
    <h2>Information Center for ARM</h2>
  </div>
  <div class="breadcrumb"><a href="$TOOLKIT_DIR$/doc/infocenter/index.ENU.html">Information Center for ARM</a> | EXAMPLES</div>
  <div class="mainblock">
   <h2>Example description</h2>

   <pre>  <!--Insert readme.txt-->
SPI Loopback


Purpose:
	An example of SPI using interrupt mode to test the SPI driver.
	This example uses SPI in loop-back mode to transfer a number of data byte.
	UART0 - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control.
	
Hardware configuration:
	This example tested on Keil MCB2300 platform v4.0 with LPC1768
	These jumpers must be configured as following:
		- VBUS, LED must be closed.
		- All remaining jumpers must be opened.
		
		SPI Connectivity:
		- P0.15 - SCK
	  - P0.17 - MISO
	  - P0.18 - MOSI
	  MOSI pin must be cross-connected with MISO pin (loop-back mode)
		
Running mode:
	This example can run on RAM mode with a debugger or run on FLASH.
	
Note:
	None
	
-----------------------------------------------------------------------------------
SPI Master

Purpose:
	An example of SPI using interrupt mode to test the SPI driver.
	This example uses SPI in master mode to communicate with SPI slave
	device.
	The master and slave transfer together a number of data byte.
	UART0 - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control.
	
Hardware configuration:
	This example tested on Keil MCB2300 platform v4.0 with LPC1768
	These jumpers must be configured as following:
		- VBUS, LED must be closed.
		- All remaining jumpers must be opened.
		
		SPI Connectivity:
		- P0.15 - SCK;
	 	- P0.16 - SSEL - used as GPIO
	  - P0.17 - MISO
	  - P0.18 - MOSI
		Common ground must be connected together between two board.
		
Running mode:
	This example can run on RAM mode with a debugger or run on FLASH.
	
Note:
	None
	
			
-----------------------------------------------------------------------------------
SPI Slave

Purpose:
	An example of SPI using polling mode to test the SPI driver.
	This example uses SPI in slave mode to communicate with SPI master
	device.
	The master and slave transfer together a number of data byte.
	UART0 - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control.
	
Hardware configuration:
	This example tested on Keil MCB2300 platform v4.0 with LPC1768
	These jumpers must be configured as following:
		- VBUS, LED must be closed.
		- All remaining jumpers must be opened.
		
		SPI Connectivity:
		- P0.15 - SCK;
	 	- P0.16 - SSEL
	  - P0.17 - MISO
	  - P0.18 - MOSI
		Common ground must be connected together between two board.
		
Running mode:
	This example can run on RAM mode with a debugger or run on FLASH.
	
Note:
	None	
	
-----------------------------------------------------------------------------------
SPI CS16SI705 polling mode

Purpose:
	An example of SPI using polling mode to test the SPI driver.
	Using SPI at mode SPI master/8bit on LPC1768 to communicate with
	SC16IS750/760 Demo Board
	UART0 - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control.
	
Hardware configuration:
	This example tested on Keil MCB2300 platform v4.0 with LPC1768
	These jumpers must be configured as following:
		- VBUS, LED must be closed.
		- All remaining jumpers must be opened.
		
		SPI Connectivity:
		- P0.15 - SCK;
	 	- P0.16 - SSEL - used as GPIO
	  - P0.17 - MISO
	  - P0.18 - MOSI
		Common ground must be connected together between two board.
		
Running mode:
	This example can run on RAM mode with a debugger or run on FLASH.
	
Note:
	None
		
-----------------------------------------------------------------------------------
SPI CS16SI705 interrupt mode

Purpose:
	An example of SPI using interrupt mode to test the SPI driver.
	Using SPI at mode SPI master/8bit on LPC1768 to communicate with
	SC16IS750/760 Demo Board
	UART0 - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control.

Hardware configuration:
	This example tested on Keil MCB2300 platform v4.0 with LPC1768
	These jumpers must be configured as following:
		- VBUS, LED must be closed.
		- All remaining jumpers must be opened.
		
		SPI Connectivity:
		- P0.15 - SCK;
	 	- P0.16 - SSEL - used as GPIO
	  - P0.17 - MISO
	  - P0.18 - MOSI
		Common ground must be connected together between two board.
		
Running mode:
	This example can run on RAM mode with a debugger or run on FLASH.
	
Note:
	None
	
		  </pre>

  </div>
  </body>
</html>






